$OpenBSD: patch-src_log_c,v 1.7 2015/01/24 03:52:53 lteo Exp $
--- src/log.c.orig	Sat Feb 22 03:45:22 2014
+++ src/log.c	Sat Oct 25 16:32:17 2014
@@ -457,7 +457,7 @@ void PrintIPPkt(FILE * fp, int type, Packet * p)
     DEBUG_WRAP(DebugMessage(DEBUG_LOG, "PrintIPPkt type = %d\n", type););
 
     memset((char *) timestamp, 0, TIMEBUF_SIZE);
-    ts_print((struct timeval *) & p->pkth->ts, timestamp);
+    ts_print((struct sf_timeval32 *) & p->pkth->ts, timestamp);
 
     /* dump the timestamp */
     fwrite(timestamp, strlen(timestamp), 1, fp);
@@ -1955,7 +1955,7 @@ void PrintEapolPkt(FILE * fp, Packet * p)
 
 
     memset((char *) timestamp, 0, TIMEBUF_SIZE);
-    ts_print((struct timeval *) & p->pkth->ts, timestamp);
+    ts_print((struct sf_timeval32 *) & p->pkth->ts, timestamp);
 
     /* dump the timestamp */
     fwrite(timestamp, strlen(timestamp), 1, fp);
@@ -2129,7 +2129,7 @@ void PrintWifiPkt(FILE * fp, Packet * p)
 
 
     memset((char *) timestamp, 0, TIMEBUF_SIZE);
-    ts_print((struct timeval *) & p->pkth->ts, timestamp);
+    ts_print((struct sf_timeval32 *) & p->pkth->ts, timestamp);
 
     /* dump the timestamp */
     fwrite(timestamp, strlen(timestamp), 1, fp);
